/*
 * =====================================================================================
 *
 *       Filename:  testoverflow.c
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  2016年10月03日 13时52分11秒
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Lou Jiapeng (http://weibo.com/rocedu), 1301597@qq.com
 *   Organization:  
 *
 * =====================================================================================
 */
#include <stdio.h>

void p21_testoverflow(){
	printf("%d\n", (500*400)*(300*200));
	printf("%d\n", ((500*400*300)*200));
	printf("%d\n", ((200*500*300)*400));
	printf("%d\n", 400*(200*500*300));

}


int main(){
	p21_testoverflow();
}
